#-------------------------------------------------
#
# Project created by QtCreator 2017-04-11T10:38:50
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = MapMatrix3Dqt
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += USEREVENTLIBDLL

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

HEADERS  += mainwindow.h \
    xSceneView.h \
    qcomm.h \
    xSceneModel.h \
    xTreeView.h \
    xTreeModel.h \
    xSceneManger.h \
    xTreeCheckManager.h \
    qMeasureDialog.h \
    selfDefTerrainManipulator.h \
    selfDefTrackBallManipulator.h \
    threadSafeUpdateCallback.h

SOURCES += main.cpp\
        mainwindow.cpp \
    xSceneView.cpp \
    qcomm.cpp \
    xSceneModel.cpp \
    xTreeView.cpp \
    xTreeModel.cpp \
    xSceneManger.cpp \
    xTreeCheckManager.cpp \
    qMeasureDialog.cpp \
    selfDefTerrainManipulator.cpp \
    selfDefTrackBallManipulator.cpp \
    threadSafeUpdateCallback.cpp

FORMS    += mainwindow.ui \
    qMeasureDialog.ui

INCLUDEPATH += ../../userEvent/mm3dBaseEvent
INCLUDEPATH += ../../userEvent/mm3dMeasureEvent
INCLUDEPATH += ../../userEvent/mm3dViewerEvent
INCLUDEPATH += ../../../OSG/include
INCLUDEPATH += ../../plugins/compass
INCLUDEPATH += ../../callback/CallBackFuncType
INCLUDEPATH += ../../depends/AdditionalDependency

Debug:CONFIG(debug, debug|release)
{
    DESTDIR = "../../../bin/debug"
    DLLDESTDIR = "../../../bin/debug"
}

Release:CONFIG(release, debug|release)
{
    DESTDIR = "../../../bin/release"
    DLLDESTDIR = "../../../bin/release"
}

Release:LIBS += ../../../bin/release/compass.lib
Release:LIBS += ../../../bin/release/mm3dViewerEvent.lib
Release:LIBS += ../../../bin/release/mm3dMeasureEvent.lib
Release:LIBS += ../../../bin/release/CallBackFuncType.lib
Release:LIBS += ../../../bin/release/AdditionalDependency.lib
Release:LIBS += ../../../bin/release/mm3dBaseEvent.lib
Release:LIBS += ../../../OSG/lib/release/OpenThreads.lib
Release:LIBS += ../../../OSG/lib/release/osg.lib
Release:LIBS += ../../../OSG/lib/release/osgDB.lib
Release:LIBS += ../../../OSG/lib/release/osgGA.lib
Release:LIBS += ../../../OSG/lib/release/osgViewer.lib
Release:LIBS += ../../../OSG/lib/release/osgManipulator.lib
Release:LIBS += ../../../OSG/lib/release/osgQt.lib
Release:LIBS += ../../../OSG/lib/release/osgText.lib
Release:LIBS += ../../../OSG/lib/release/osgUtil.lib


Debug:LIBS += ../../../bin/debug/compass.lib
Debug:LIBS += ../../../bin/debug/mm3dViewerEvent.lib
Debug:LIBS += ../../../bin/debug/mm3dMeasureEvent.lib
Debug:LIBS += ../../../bin/debug/CallBackFuncType.lib
Debug:LIBS += ../../../bin/debug/AdditionalDependency.lib
Debug:LIBS += ../../../bin/debug/mm3dBaseEvent.lib
Debug:LIBS += ../../../OSG/lib/debug/OpenThreadsd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgDBd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgGAd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgViewerd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgManipulatord.lib
Debug:LIBS += ../../../OSG/lib/debug/osgQtd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgTextd.lib
Debug:LIBS += ../../../OSG/lib/debug/osgUtild.lib
